package com.supreme.studyserver.service;

import com.supreme.commonboot.utils.ReturnEntity;
import com.supreme.studyserver.entity.Test;
import org.springframework.stereotype.Service;

import java.util.Optional;

@Service
public class TestService {

    public void testShow(Test test) {
        System.out.println("test = " + test);
        Boolean abc = true;
        String hello = "";
        Integer type = 0;
    }

    public ReturnEntity<Test> testReturn(Test test) {
        System.out.println("test = " + test);
        return new ReturnEntity<Test>().setData(test);
    }
}
